home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / -archivi / -recent2 / jpegtool.lha / JpegTool / JpegTool.doc < prev    next >
Text File  |  1999-03-10  |  5KB  |  157 lines

  1.                       JpegTool
  2.         © 1999 by Stephan Rupprecht
  3.             All rights reserved.
  4.  
  5.  
  6. COPYRIGHT AND DISCLAIMER
  7.  JpegTool is copyrighted 1999 by Stephan Rupprecht. All rights
  8.  reserved. This program is freeware, so no financial donations
  9.  required. Redistribution allowed if the package is left unchanged.
  10.  The author is not responsible for any damage caused by the use
  11.  or misuse of this documentation and/or the program(s) it describes.
  12.  
  13.  
  14. REQUIREMENTS
  15.  Any Amiga® (compatible) computer with at least OS3 and '020+ cpu.
  16.  jpeg.library v2+ by Paul Huxham (util/libs/jpeglibrary*.lha or
  17.   http://mafeking.scouts.org.au/~paulh).
  18.  picture.datatype v43 and datatypes.library v45 (optional, see later).
  19.  
  20.  The gui program by Nils Goers requires:
  21.   triton.library, tritonrexx.library, rexxsupport.library,
  22.   rexxreqtools.library
  23.  
  24.  
  25. DESCRIPTION
  26.  JpegTool allows you to convert any image that is recognized by 
  27.  datatypes into a jpeg image and vice versa.
  28.  
  29.  Features (mainly provided by jpeg.library)
  30.   · can create thumbnails from jpegs.
  31.   · allows to create progressive images (jpeglib v5).
  32.   · provides block smoothing for decompression (jpeglib v5).
  33.   · dct method (jpeglib v4) as well as quality and smoothing
  34.     factor can be changed.
  35.   · optionally creates grayscale images.
  36.  
  37.  
  38. INSTALLATION
  39.  Simply copy JpegTool to where-ever-you-want :)
  40.  
  41.  
  42. USAGE
  43.  You can start JpegTool only from shell, since it's a DOS command
  44.  (except for the possibility to start it from Workbench through
  45.  the menu item 'Execute Command...'). The following options are
  46.  provided:
  47.  
  48.     FROM/M/A,TO/A,DESTDATATYPE=DATATYPE=DTN,Q=QUALITY/N/K,
  49.     S=SMOOTHING/N/K,DCT=DCTMETHOD/K,BS=BLOCKSMOOTHING/S,
  50.     P=PROGRESSIVE/S,SN=SCALENUM/N/K,SD=SCALEDENOM/N/K,
  51.     GS=GRAYSCALE/S,QUIET/S
  52.  
  53.  FROM/M/A: specifies the image(s) to convert, patterns will be accepted.
  54.  
  55.  TO/A: name of the new image(s). The specified filename is not necessarily 
  56.   just a simple identifier representing exactly one disk object. Instead, 
  57.   it is a template which may contain variables/placeholders which will 
  58.   be replaced by their actual values. Placeholders recognized are:
  59.   
  60.    %n   name of the source file without suffix (anything behind the _first_
  61.         point is assumed to be a suffix). You can shorten the filename by
  62.         providing the maximum number of characters allowed between % and n
  63.         (eg. %5s).
  64.    %nu  Each time an image is converted an internal counter will be
  65.        increased. %nu holds the current value of this counter.
  66.    %w   width of the image.
  67.    %h   height ...
  68.    %d   depth ...
  69.    %sz  shortcut for %wx%hx%d.
  70.    %s   suffix _without_ leading point. If you convert an image to jpeg, the 
  71.         suffix will be 'jpg' otherwise the name of the datatype specified
  72.         via DATATYPE will be taken as suffix (exception: 'picture' will be
  73.         turned into 'ilbm').
  74.         
  75.    example: this will create thumbnails from all jpg files in the current
  76.     directory. jpegtool #?.jpg %20n_thumb.%s sd=8
  77.    
  78.   NOTE: Source and destination MUST NOT be the same file !
  79.  
  80.  DESTDATATYPE=DATATYPE=DTN: tells the program to create a datatypes
  81.   object from a jpeg stream. To create an ilbm picture specify
  82.   DTN=picture (no .datatype ending!). This option requires picture
  83.   datatype v43 and datatypes.library v45! And, of course, the
  84.   specified subclass of picture    dt must be v43 compatible and provide
  85.   an encoder.
  86.  
  87.  Q=QUALITY/N/K: quality of the jpeg stream to create (1%..100%).
  88.   default: 75
  89.  
  90.  S=SMOOTHING/N/K: smoothing factor of the jpeg stream to create
  91.   (0%..100%). default: 0 (= no smoothing)
  92.  
  93.  DCT=DCTMETHOD/K: allows to specify the dct method used for
  94.   de-/encoding. The following keywords are recognized:
  95.     ISLOW: integer, slow, more accurate (default).
  96.     IFAST: integer, fast, less accurate.
  97.     FLOAT: float, fast on fast machines, most accurate.
  98.  
  99.  BS=BLOCKSMOOTHING/S: do block smoothing when decompressing.
  100.   default: off
  101.  
  102.  P=PROGRESSIVE/S: create progressive jpeg.
  103.   default: off
  104.  
  105.  SN=SCALENUM/N/K: scaling numerator when decompressing a jpeg image.
  106.   The jpeg code only supports a value of 1 (default) currently.
  107.  
  108.  SD=SCALEDENOM/N/K: scaling denominator when decompressing a jpeg
  109.   image. Denominators supported are 1 (default), 2, 4 and 8. Eg. if
  110.   you want to have an image that is halve of the size of the original 
  111.   one specify SD=2.
  112.  
  113.  GS=GRAYSCALE/S: create grayscale image. default: off.  
  114.  
  115.  QUIET/S: suppresses any message except error messages.
  116.   default: off
  117.  
  118.  
  119. PROBLEMS
  120.  The ffp version of jpeg.library will probably cause your computer to
  121.  crash, so better use the standard one or the fpu version (if possible).
  122.  The latest release of jpeg.library no longer includes an ffp version.
  123.  
  124.  
  125. HISTORY
  126.  1.0  first public release
  127.  1.1  fixed a few non-serious bugs. added grayscale option. creates
  128.       an 8bit image from a grayscale jpeg, now (before truecolor).
  129.       fixed p96 picturedt problems.
  130.  1.2  Wrong aspect ratio was saved when creating a datatypes object.
  131.       Improved FROM and TO option, now multiple files / whole directories
  132.       can be converted at once. Included JpegToolGUI by Nils Goers.
  133.  
  134.  
  135. FUTURE
  136.  bugfixes ;)
  137.  your suggestions
  138.  
  139.  
  140. SPECIAL THANKS GO TO (in order of appearance ;)
  141.  Paul Huxham for his jpeg.library.
  142.  Olaf Barthel for his help.
  143.  Nils Goers <n.goers@goers.art-line.de> for the gui program.
  144.  
  145.  
  146. AUTHOR
  147.  Please send bug reports and ideas to
  148.  
  149.      Stephan Rupprecht
  150.      Apfeldweg 1
  151.      D44359 Dortmund
  152.      Germany
  153.  
  154.  Send emails to
  155.  
  156.      stephan.rupprecht@gmx.de
  157.